package net.zoneland.knowledge.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import net.zoneland.knowledge.utils.DateConverter;
import net.zoneland.knowledge.utils.DateHelper;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 三会一课Bean.
 * <p>
 *     <li>表：AITK_SAN_HUI_YI_KE</li>
 *     <li>
 *         {
 * "id": "435782050851995648",
 * "issueRecord": "主题党日验证用",
 * "meetingName": "中国共产党中国移动通信集团浙江有限公司温州分公司财务党支部3月主题党日",
 * "meetingPlace": "云视频网络会议",
 * "meetingStartTime": "2020-03-13T14:15:00.000Z",
 * "meetingStatus": "7",
 * "orgUuid": "B14F1F2C-DBFB-48D0-88A2-06ECE1276C0B",
 * "planName": "3月主题党日",
 * "typeRecord": "||5||"
 * }
 *     </li>
 * </p>
 * @author zouxia
 */
@Data
public class SanHuiYiKe implements Serializable {

    private static final long serialVersionUID = 7010471690360261027L;

    /**
     * 主键.
     */
    @ExcelIgnore
    private String id;

    /**
     * 公司名称.
     */
    @ExcelProperty(value = "单位名称", index = 1)
    private String companyName;

    /**
     * uuid.
     */
    @ExcelProperty(value = "党组织", index = 2)
    private String orgUuid;

    /**
     * 会议名称.
     */
    @ExcelProperty(value = "会议名称", index = 3)
    private String meetingName;

    /**
     * .
     */
    @ExcelProperty(value = "会议类型", index = 4)
    private String typeRecord;

    /**
     * 会议开始时间.
     */
    @ExcelProperty(value = {"会议时间"}, converter = DateConverter.class, index = 5)
    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy年MM月dd日")
    private Date meetingStartTime;

    /**
     * 会议地点.
     */
    @ExcelProperty(value = "会议地点", index = 6)
    private String meetingPlace;

    /**
     *  会议记要.
     */
    @ExcelProperty(value = "会议议题", index = 7)
    private String issueRecord;

    /**
     * 会议状态.
     * 如：已归档
     */
    @ExcelProperty(value = "会议状态", index = 8)
    private String meetingStatus;

    /**
     * .
     * 如：3月主题党日
     */
    @ExcelProperty(value = "计划名称", index = 9)
    private String planName;
}
